package br.com.management.mentor.model.beans;

import javax.persistence.Column;
import javax.persistence.Entity;

@Entity
public class Unity extends BaseEntity{

	private static final long serialVersionUID = -4777684851696693161L;

	@Column(unique=true, nullable=false)
	private String acronym;
	
	@Column(unique=true, nullable=false)
	private String description;

	public Unity() {
	}

	public Unity(String acronym, String description) {
		super();
		this.acronym = acronym;
		this.description = description;
	}


	public String getAcronym() {
		return acronym;
	}

	public void setAcronym(String acronym) {
		this.acronym = acronym;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
	
}
